from django.db import models

# Create your models here.

#购物车数据库
class Cart111(models.Model):
    name = models.CharField(max_length=100)
    price = models.DecimalField(max_digits=7,decimal_places=2)
    grade = models.BooleanField(default=False)
    class Meta:
        db_table = 'cart111'



#注册
class USerregister(models.Model):
    username =models.CharField(max_length=50)
    password =models.CharField(max_length=50)
    mobile =models.CharField(max_length=11)
    class Meta:
        db_table = 'userregister'






